
{$content|@print_r:true}
<div class="divFormFieldLabel" style="position:relative;">{$content.label|htmlentities}</div>
<div class="divFormFieldInput" style="position:relative;">
	<select id="{$content.fieldname}" name="obj[{$obj.obj_id}][{$content.fieldname}]" size="{$content.size}" {if $content.multiple==true}multiple="multiple"{/if} class="FormFieldSelect">
		<option>--</option>
		{foreach name="valueloop" from=$content.values item=value}
			{strip}<option value="{$value.value}" 
				{if 
					(($content.multiple==true) AND (in_array($value.value,$content.selected))) OR
					(($content.multiple==false) AND ($value.value == $content.selected))
				}
				selected="selected"
				{/if}>{$value.name|stripslashes}</option>{/strip}
		{/foreach}		
	</select>	
</div>
<br style="clear:both;" />